package com.shop.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.admin.entity.ShopOrder;
import com.shop.admin.entity.ShopStock;

import java.util.List;

public interface ShopStockService extends IService<ShopStock> {
    void insertStock(ShopStock shopStock);

    ShopStock selectById(Integer stockId);

    void updateStockCount(Long orderId, Integer stockCount);

    void removeStockByOrderId(List<Long> asList);

    List<ShopStock> selectCountList(List<Long> orderId);

}
